package logic;

public class FloatCoordinate {

	@SuppressWarnings("unused")
	private float x,y,z;
	
	
	public FloatCoordinate(FloatCoordinate fc)
	{
		this.x=fc.x;
		this.z=fc.z;
	}
	public FloatCoordinate(float x,float z)
	{
		this.x=x;
		this.z=z;
	}
	public float getX() {
		return x;
	}
	
	public void set(float x, float z)
	{
		this.x=x;
		this.z=z;
	}
	
	public void add(float x, float z)
	{
		this.x+=x;
		this.z+=z;
	}
	
	public void setX(float x) {
		this.x = x;
	}
	
	public float getZ() {
		return z;
	}
	
	public void setY(float y) {
		this.y = y;
	}
	
	public void setZ(float z)
	{
		this.z=z;
	}
}
